package com.tongjie.hotelbooking.dto;

import com.tongjie.hotelbooking.order.entity.OrderType;
import com.tongjie.hotelbooking.order.entity.RoomInfo;
import com.tongjie.hotelbooking.order.enums.OrderStatus;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderDto {

    private Long id;

    private String orderNumber;

    private OrderType orderType;

    private String region;

    private String hotelName;

    private String plannedCheckInDate;

    private String plannedCheckOutDate;

    private Integer dayCount;

    private List<RoomInfo> roomInfos = new ArrayList<>();

    private BigDecimal singleRoomBudget;

    private Integer totalPeopleCount;

    private Integer kidCount;

    private Boolean needBreakfast = Boolean.FALSE;

    private Boolean noSmoking = Boolean.FALSE;

    private String arriveTime;

    private BigDecimal additionalBudget;

    private Boolean needHotelInvoice = Boolean.FALSE;

    private BigDecimal totalBudget;

    private Boolean allowedHousemate = Boolean.FALSE;

    private OrderStatus orderStatus;

    private Long creatorId;

    private String creatorNickName;

    private String createTime;
}
